Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contribution guide improvment #23

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

nathan-de-pachtere
Copy link
Contributor

Add a section about props inside the contribution guide, it's a suggestion to standardize the way component are defined.

Copy link
Member

@rahul-vashishtha rahul-vashishtha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me know your thoughts if we use types over interfaces

content/1.getting-started/3.contribution.md Outdated Show resolved Hide resolved
@nathan-de-pachtere
Copy link
Contributor Author

nathan-de-pachtere commented Oct 22, 2024

Feels even more wrong with the colouring in the .vue file preview inside the doc (need a fix on that even for interface). Feels like vue.is going with the interface way, as their doc is fully written with interfaces. https://vuejs.org/guide/typescript/composition-api.html

image

Shadcn-vue, vue-router, vue-i18n, pinia, and vue are also using interfaces.
@rahul-vashishtha finally it's maybe great to follow Vue.js standard on that. What do you think ?

For consistency inside the ecosystem, could be great to just align with vue.js and use interface

And for sure is going to make me happy because I prefer this way but it's your choice. 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants